package com.newgrand.annexserver.beans;

import com.baomidou.mybatisplus.enums.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;

import java.io.Serializable;

/**
 * <p>
 * 附件记录表
 * </p>
 *
 * @author minyang
 * @since 2019-09-04
 */
public class Attachmentrecord extends Model<Attachmentrecord> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "phid", type = IdType.AUTO)
    private Long phid;
    private String asrFid;
    private String asrTable;
    private String asrCode;
    private String asrDb;
    private String sessionid;
    private Integer storeType;
    private Date createtime;
    private Date updatetime;
    private Integer state;


    public Long getPhid() {
        return phid;
    }

    public void setPhid(Long phid) {
        this.phid = phid;
    }

    public String getAsrFid() {
        return asrFid;
    }

    public void setAsrFid(String asrFid) {
        this.asrFid = asrFid;
    }

    public String getAsrTable() {
        return asrTable;
    }

    public void setAsrTable(String asrTable) {
        this.asrTable = asrTable;
    }

    public String getAsrCode() {
        return asrCode;
    }

    public void setAsrCode(String asrCode) {
        this.asrCode = asrCode;
    }

    public String getAsrDb() {
        return asrDb;
    }

    public void setAsrDb(String asrDb) {
        this.asrDb = asrDb;
    }

    public String getSessionid() {
        return sessionid;
    }

    public void setSessionid(String sessionid) {
        this.sessionid = sessionid;
    }

    public Integer getStoreType() {
        return storeType;
    }

    public void setStoreType(Integer storeType) {
        this.storeType = storeType;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    protected Serializable pkVal() {
        return this.phid;
    }

    @Override
    public String toString() {
        return "Attachmentrecord{" +
                ", phid=" + phid +
                ", asrFid=" + asrFid +
                ", asrTable=" + asrTable +
                ", asrCode=" + asrCode +
                ", asrDb=" + asrDb +
                ", sessionid=" + sessionid +
                ", storeType=" + storeType +
                ", createtime=" + createtime +
                ", updatetime=" + updatetime +
                ", state=" + state +
                "}";
    }
}
